<div id="tablecontent">
<form method="post" action="/admin/picture/savelist" >
	<input name="booklet_id" type="text" class="num" value="<?php echo $booklet_id; ?>" readonly="readonly" />
  <table class="testgrid" id="tableid">
    <thead>
      <tr>
        <th>id</th>
        <th>booklet_id</th>
        <th>描述</th>
        <th>图片</th>
      </tr>
    </thead>
    <tbody>
<?php
	foreach($picture_list as $picture)
	{
?>
      <tr id="DemoGrid">
		<td>
		<input name="<?php echo $picture->id; ?>[id]" type="text" class="num" value="<?php echo $picture->id; ?>" readonly="readonly" />
		</td>
	  	<td><?php echo $picture->booklet_id; ?></td>
		<td>
		<input name="<?php echo $picture->id; ?>[description]" type="text" class="num" value="<?php echo $picture->description; ?>" size="100"/>
		</td>
	  	<td><?php echo $picture->image; ?></td>
		<td>
			<a href="/admin/booklet/delimg/<?php echo $picture->id; ?>" onclick="var bl=confirm('真要删除?'); if(bl){return true;} else {return false;}" class="rates_button">删除</a>
		</td>
      </tr>
<?php
	}
?>
    </tbody>
  </table>
<input type="submit" value="save" id="submit1"/>
</form>
</div>

